<?php
include_once 'clients_protoweb.php';

/**
 * @package Protoweb
 * @subpackage controller
 */
class Clients extends Clients_protoweb {

  public function __construct() {
    parent::__construct();
  } // end of method __construct()


  public function change($client_id) {
    // user security
    $this->security();

    $this->session->set_userdata('client', $client_id);

    redirect(base_url().'users/dashboard/');
  }

  public function clean_recipients() {
    $this->security();
    $client = $this->get_client();

    die($client->clean_recipients());
  }
  
} // class Clients

/* End of file clients.php */
/* Location: ./system/application/controllers/clients.php */